package com.lagou.demo.controller;

import com.lagou.edu.mvcframework.annotation.LagouController;
import com.lagou.edu.mvcframework.annotation.LagouRequestMapping;
import com.lagou.edu.mvcframework.annotation.LagouSecurity;

@LagouRequestMapping("/securityclass")
@LagouController
@LagouSecurity({"zhangsan"})
public class SecurityClassController {

    @LagouRequestMapping("/handle01")
    public String handle01(String userName){
        return userName;
    }

}
